package com.myc.cloud.gateway.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Classname HystrixController
 * @Description 熔断控制器
 * @Date 2020-08-24 17:34
 * @Created by myc
 */
@RestController
public class HystrixController {

    @GetMapping("/fallback")
    public String fallBack(){
        return "Error:fallback";
    }
}
